<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/app/include.jsp"%>
	</head>
	<body>
		<div class="right_content">
			<div class="breadcrumb">
				<ul>
					<li>
						健康监测
						<span>/</span>
					</li>
					<li class="active">
						问卷调查
					</li>
				</ul>
			</div>
			<form id="queryForm" name="queryForm" action="${pageContext.request.contextPath}/monitor/loadSurveyList.do">
				<div class="query-wrap">
					<div class="pull">
						<div class="pull-left">
							问卷标题&nbsp;<input id="name" name="name" type="text" style="width: 240px;" value="${name}"/>
						</div>
						<div class="pull-right">
							<input type="button" class="btn btn-primary" value="查询" onclick="Page.queryPage();"/>
							<input type="button" class="btn btn-primary" value="重置" onclick="Page.clearForm();"/>
						</div>
					</div>
				</div>
			</form>
			
			<ul class="tab">
				<li class="active">
					<span>全部问卷</span>
				</li>
				<li>
					<span>全高血压</span>
				</li>
				<li>
					<span>亚健康</span>
				</li>
				<li>
					<span>心血管</span>
				</li>
			</ul>
			<div class="tab-content">
				<div class="sear">
					<strong>筛选</strong>
					<select>
						<option>
							所有被访问者
						</option>
					</select>
					<select>
						<option>
							所有问卷
						</option>
					</select>
				</div>
				<ul class="result-list">
					<c:forEach var="survey" items="${page.list}" varStatus="status">
					<li>
						<div class="pull-left">
							<a href="#" class="title">${survey.name }</a>
							<p>
								${survey.description }
								<br />
								问卷分类：${survey.type }&nbsp;&nbsp;&nbsp;&nbsp;创建日期：${open:format(survey.createtime,"yyyy-MM-dd")}&nbsp;&nbsp;&nbsp;&nbsp;共${survey.pagecount }页${survey.questioncount }个问题
							</p>
						</div>
						<div class="pull-right">
							<a href="#" class="answer">参与调查</a>
							<a href="#" class="view-result">查看结果</a>
						</div>
					</li>
					</c:forEach>
					<c:if test="${fn:length(page.list) == 0}">
						<li>
							<div class="pull-left">
								<font color=red><strong>没有可用的调研问卷信息！</strong></font>
							</div>
						</li>
					</c:if>
				</ul>
				
				<!--分页开始-->
				${page.operate }
				<!--/分页结束-->
			</div>
		</div>
	</body>
</html>


